import { get } from "@/utils/request";

export async function addTopicWhitelist() {
  const topicName = "/workshop1/line1/station1";
  const params = { topicName };
  // Send a GET request
  const response = await get(    `/open/process/addWhite`,    params  );
  // alert(JSON.stringify(response));
  return response;
}
